package com.brother.realtime.config;


public class ConfigGEO implements Config {

	private String format = "123456I1,%1$s,%2$s,%3$s,%4$s";
	// 123456I1,lat1,lot1,lat2,lot2 
	@Override
	public byte[] getData() {
		return String.format(format, swLat, swLng, neLat, neLng).getBytes();
	}
	
	private String swLat;
	public String getSwLat() {
		return swLat;
	}
	public void setSwLat(String swLat) {
		this.swLat = swLat;
	}
	public String getSwLng() {
		return swLng;
	}
	public void setSwLng(String swLng) {
		this.swLng = swLng;
	}
	public String getNeLat() {
		return neLat;
	}
	public void setNeLat(String neLat) {
		this.neLat = neLat;
	}
	public String getNeLng() {
		return neLng;
	}
	public void setNeLng(String neLng) {
		this.neLng = neLng;
	}

	private String swLng ;
	private String neLat ;
	private String neLng;
}
